package com.macro.mall.mapper;

import com.macro.mall.model.BasicKeyType;
import com.macro.mall.model.BasicKeyTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicKeyTypeMapper {
    long countByExample(BasicKeyTypeExample example);

    int deleteByExample(BasicKeyTypeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicKeyType record);

    int insertSelective(BasicKeyType record);

    List<BasicKeyType> selectByExample(BasicKeyTypeExample example);

    BasicKeyType selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicKeyType record, @Param("example") BasicKeyTypeExample example);

    int updateByExample(@Param("record") BasicKeyType record, @Param("example") BasicKeyTypeExample example);

    int updateByPrimaryKeySelective(BasicKeyType record);

    int updateByPrimaryKey(BasicKeyType record);
}